package cn.itcast.oa.service;

import java.util.List;
import java.util.Set;

import cn.itcast.oa.base.BaseDAO;
import cn.itcast.oa.model.Application;
import cn.itcast.oa.model.ApproveInfo;
import cn.itcast.oa.model.TaskView;
import cn.itcast.oa.model.User;

public interface ApplicationService extends BaseDAO<Application>{

	public void submit(Application application);

	public List<TaskView> getMyTaskViewList(User currentUser);

	public void approve(ApproveInfo approveInfo, String taskId, String outcome);

	public Set<String> getOutComesByTaskId(String taskId);
}
